package gvjclient.types;

/*
Copyright 2010 Arpit Sud
This file is part of gv-jclient. (http://code.google.com/p/gv-jclient/)
gv-jclient is an Unofficial Java client for Google Voice.

gv-jclient is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

gv-jclient is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with gv-jclient.  If not, see <http://www.gnu.org/licenses/>.
*/

public class Contact
{
	private String name;
    private String phone;
    
    public Contact(String name, String phone)
    {
    	this.name = name;
    	this.phone = phone;
    }

    public String toString()
    {
        return name;
    }
    
    public String getName()
    {
    	return this.name;
    }
    
    public String getPhone()
    {
    	return this.phone;
    }
}
